package cn.sh.yhk.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface SystemMapper {

    @Select("SELECT COLUMN_NAME  FROM information_schema.columns WHERE table_name=#{tableName}")
    List<String> getTableCols(String tableName);
}
